﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Knlght.Domain
{
    /// <summary>
    /// 结果编码的常量值
    /// </summary>
    public sealed class ResultCodeConstants
    {
        /// <summary>
        /// 成功回复
        /// </summary>
        public const int SUCCESS = -1;
        /// <summary>
        /// 没有使用
        /// </summary>
        public const int NONE = 0;
        /// <summary>
        /// 未分类错误
        /// </summary>
        public const int ERROR = 1;
        /// <summary>
        /// 模型格式错误
        /// </summary>
        public const int ERROR_MODEL_FORMAT = 201;
        /// <summary>
        /// 没有授权的操作
        /// </summary>
        public const int ERROR_NOAUTHORIZE = 401;
        /// <summary>
        /// 没有找到对应的数据
        /// </summary>
        public const int ERROR_NOTFIND = 404;
    }
}
